package com.example.administrator.pandanotes;

import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.sql.Date;

/**
 * Created by 于博 on 2018-07-14.
 * Note(笔记)类，具有以下属性和对应的get、set类方法
 * 书籍名,外键数据冗余
 * 书籍页码
 * 添加笔记日期
 * 笔记内容
 */

public class Note extends DataSupport implements Serializable {
    private String book_name;//书籍名,外键数据冗余
    private String note_page;//书籍页码
    private String str_date; //添加笔记日期
    private String note_content;//笔记内容
    private Books  books;        //和书多对一

    public String getBook_name() {
        return book_name;
    }

    public String getNote_page() {
        return note_page;
    }

    public String getStr_date() {
        return str_date;
    }

    public String getNote_content() {
        return note_content;
    }

    public Books getBooks() {
        return books;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public void setNote_page(String note_page) {
        this.note_page = note_page;
    }

    public void setStr_date(String str_date) {
        this.str_date = str_date;
    }

    public void setNote_content(String note_content) {
        this.note_content = note_content;
    }

    public void setBooks(Books books) {
        this.books = books;
    }
}
